package com.shop.cereshop.commons.domain.shop;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.assertj.core.util.diff.Delta;

import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@TableName("cere_shop_sku_name")
@ApiModel(value = "CereShopSkuName", description = "店铺规格名")
@AllArgsConstructor
public class CereShopSkuName {

    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @ApiModelProperty(value = "主键id")
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 店铺规格id
     */
    @ApiModelProperty(value = "店铺规格id")

    private Long skuId;

    /**
     * 规格值"
     */
    @ApiModelProperty(value = "规格值")
    @NotNull(message = "规格值")
    private String skuValue;
}
